package com.haiya.oauth.service;

import com.haiya.common.response.PageRes;
import com.haiya.oauth.model.Client;
import com.haiya.common.service.ISuperService;

import java.util.List;
import java.util.Map;

/**
 * @author qiaoguoqiang
 */
public interface IClientService extends ISuperService<Client> {
    boolean saveClient(Client clientDto) throws Exception;
    /**
     * 查询应用列表
     * @param params
     */
    PageRes listClient(Map<String, Object> params, boolean isPage);
    int delClient(long id);
    Client loadClientByClientId(String clientId);
}
